package com.kingzoder.food.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ZoderKing
 */
@Schema(name = "食材VO实体类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class IngredientVO implements Serializable {
    @Schema(name = "食材ID")
    private Long id;

    @Schema(name = "关联食谱ID")
    private Long recipeId;

    @Schema(name = "食材名称")
    private String name;

    @Schema(name = "食材用量")
    private String amount;

    @Schema(name = "计量单位（如：克、勺、个）")
    private String unit;
}
